package dockyin.action.pattern.mediator;

public abstract class AbstractMediator {

    protected AbstractWorker workerA;

    protected AbstractWorker workerB;

    public AbstractMediator(AbstractWorker workerA, AbstractWorker workerB) {
        this.workerA = workerA;
        this.workerB = workerB;
    }

    public abstract void affectA();

    public abstract void affectB();
}
